<style>
	.lang_p1 {
		position: relative;
		display: inline-block;
		top: -40px;
	}
</style>
<if condition="$language == 1">
	<header class="header">
		<div class="top">
			<div class="top_left">
				<a href="#">股票代码01685.HK</a>
				<a href="{:U('front/index')}">博耳电力官网</a>
			</div>
			<div class="top_right">
				<form action="{:U('front/search')}" method="post" class="search_form">
					<div class="search_box">
						<input type="submit" value="站内搜索" class="search_btn"/><i></i>
					</div>
					<input type="text" name="keyword"  value="{$keyword}" class="search_txt"/>
				</form>
				<div class="top_right_sub">
					<div class="lang_p">
						<a href="#" class="lang">语言选择 <i></i></a>
						<ul class="lang_choose">
								<li><a href="{:U('front/change_language',array('language'=>1))}">中文</a></li>
								<li><a href="{:U('front/change_language',array('language'=>2))}">英文</a></li>

						</ul>
					</div>
					<a href="tencent://message/?uin=2730656670&Site=&menu=yes" class="kefu">客服服务</a>
				</div>
			</div>
		</div>
		<div class="nav w1200">
			<div class="logo"><a href="#"><img src="__TMPL__Public/assets/img/logo.png"/></a></div>
			<ul class="nav_item">
				<li <if condition="empty($top_f_id)">class="line"</if>><a href="{:U('front/index')}">首页</a></li>
				<li class="nav_pat <if condition='$top_f_id == 1'>line</if>">
					<a href="{:U('front/article_detail',array('id'=>1))}">关于我们</a>
					<ul class="nav_sub">
						<li><a href="{:U('front/article_detail',array('id'=>1))}">企业简介</a></li>
						<li><a href="{:U('front/article_detail',array('id'=>2))}">企业文化</a></li>
						<li><a href="{:U('front/article_detail',array('id'=>3))}">组织架构</a></li>
						<li><a href="{:U('front/article_detail',array('id'=>4))}">荣誉资质</a></li>
					</ul>
				</li>
				<li class="nav_pat <if condition='$top_f_id == 6'>line</if>">
					<a href="{:U('front/news_list',array('tid'=>7))}">新闻中心</a>
						<ul class="nav_sub">
                            <li><a href="{:U('front/news_list',array('tid'=>7))}">媒体报道</a></li>
                            <li><a href="{:U('front/news_list',array('tid'=>8))}">行业动态</a></li>
							<li><a href="{:U('front/news_list',array('tid'=>9))}">公开资料</a></li>

						</ul>
					</li>
				<li class="nav_pat <if condition='$top_f_id == 10'>line</if>">
				<a href="{:U('front/article_detail',array('id'=>$bottom_solution_list[0]['id']))}">解决方案</a>
					<ul class="nav_sub">
					<foreach name="bottom_solution_list" item="bitem">
						<li><a href="{:U('front/article_detail',array('id'=>$bitem['id']))}">{$bitem.title}</a></li>
					</foreach>
					</ul>
				</li>
				<li class="nav_pat <if condition='$top_f_id == 11'>line</if>">
				<a href="{:U('front/article_detail',array('id'=>$bottom_operate_list[0]['id']))}">投资运营</a>
					<ul class="nav_sub">
						<foreach name="bottom_operate_list" item="bitem">
							<li><a href="{:U('front/article_detail',array('id'=>$bitem['id']))}">{$bitem.title}</a></li>
						</foreach>
					</ul>
				</li>
				<li class="nav_pat <if condition='$top_f_id == 23'>line</if>"><a href="{:U('front/article_detail',array('id'=>9))}">洽谈合作</a>
				<ul class="nav_sub">
					<li><a href="{:U('front/article_detail',array('id'=>9))}">合作品牌</a></li>
					<li><a href="{:U('front/consult')}">在线咨询</a></li>
					<li><a href="{:U('front/article_detail',array('id'=>10))}">人才招聘</a></li>
					<li><a href="{:U('front/article_detail',array('id'=>11))}">联系我们</a></li>
				</ul>
				</li>
			</ul>
		</div>
	</header>
<else/>
	<header class="header">
		<div class="top">
			<div class="top_left">
				<a href="#">股票代码01685.HK</a>
				<a href="#">博耳电力官网</a>
			</div>
			<div class="top_right">
				<form action="{:U('front/search')}" method="post" class="search_form">
					<div class="search_box">
						<input type="submit" value="Search this site" class="search_btn"/><i></i>
					</div>
					<input type="text" name="keyword"  value="{$keyword}" class="search_txt"/>
				</form>
				<div class="top_right_sub">
					<div class="lang_p1 lang_p">
						<a href="#" class="lang">Language choice <i></i></a>
						<ul class="lang_choose">
							<li><a href="{:U('front/change_language',array('language'=>1))}">Chinese</a></li>
							<li><a href="{:U('front/change_language',array('language'=>2))}">English</a></li>
						</ul>
					</div>
					<a href="tencent://message/?uin=1120863335&Site=&menu=yes" class="kefu">Customer service</a>
				</div>
			</div>
		</div>
		<div class="nav w1200">
			<div class="logo"><a href="{:U('front/index')}"><img src="__TMPL__Public/assets/img/logo.png"/></a></div>
			<ul class="nav_item">
				<li <if condition="empty($top_f_id)">class="line"</if>><a href="{:U('front/index')}">Home</a></li>
				<li class="nav_pat <if condition='$top_f_id == 12'>line</if>">
					<a href="{:U('front/article_detail',array('id'=>5))}">About us</a>
					<ul class="nav_sub">
						<li><a href="{:U('front/article_detail',array('id'=>5))}">Company Profile</a></li>
						<li><a href="{:U('front/article_detail',array('id'=>6))}">Corporate Culture</a></li>
						<li><a href="{:U('front/article_detail',array('id'=>7))}">Organization</a></li>
						<li><a href="{:U('front/article_detail',array('id'=>8))}">Qualifications And Awards</a></li>
					</ul>
				</li>
				<li class="nav_pat <if condition='$top_f_id == 17'>line</if>"><a href="{:U('front/news_list',array('tid'=>18))}">News Center</a>
					<ul class="nav_sub">
                        <li><a href="{:U('front/news_list',array('tid'=>18))}">Media</a></li>
                        <li><a href="{:U('front/news_list',array('tid'=>19))}">Industry News</a></li>
						<li><a href="{:U('front/news_list',array('tid'=>20))}">Public Information</a></li>

					</ul>
				</li>
				<li class="nav_pat <if condition='$top_f_id == 21'>line</if>"><a href="{:U('front/article_detail',array('tid'=>21))}">Solutions</a>
					<ul class="nav_sub">
						<foreach name="bottom_solution_list" item="bitem">
							<li><a href="{:U('front/article_detail',array('id'=>$bitem['id']))}">{$bitem.title}</a></li>
						</foreach>
					</ul>
				</li>
				<li class="nav_pat <if condition='$top_f_id == 22'>line</if>"><a href="{:U('front/article_detail',array('tid'=>22))}">Investment & Operation</a>
					<ul class="nav_sub">
						<foreach name="bottom_operate_list" item="bitem">
							<li><a href="{:U('front/article_detail',array('id'=>$bitem['id']))}">{$bitem.title}</a></li>
						</foreach>
					</ul>
				</li>
				<li class="nav_pat <if condition='$top_f_id == 24'>line</if>"><a href="{:U('front/article_detail',array('id'=>12))}">Cooperation</a>
					<ul class="nav_sub">
						<li><a href="{:U('front/article_detail',array('id'=>12))}">Cooperation Brand</a></li>
						<li><a href="{:U('front/consult')}">Online Consultation</a></li>
						<li><a href="{:U('front/article_detail',array('id'=>13))}">Recruitment</a></li>
						<li><a href="{:U('front/article_detail',array('id'=>14))}">Contact Us</a></li>
					</ul>
				</li>
			</ul>
		</div>
	</header>
</if>